package com.study.proxy;

import com.study.proxy.staticp.BuyHouse;
import com.study.proxy.staticp.BuyHouseImpl;
import com.study.proxy.staticp.BuyHousePorxy;

public class StaticProxy {

	public static void main(String[] args) {

		BuyHouse target = new BuyHouseImpl();
		BuyHouse buyHouseProxy  =new BuyHousePorxy(target);
		buyHouseProxy.buyHosue();
	}

}
